<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:pou="http://primefaces.org/ui">
    <head>
        <title>listadorangos</title>
    </head>
    <body>
        <ui:composition>
            <pou:dataTable value="#{mbLineasNegocio.lista}" var="r"
                           rowKey="#{r.id}" selectionMode="single" 
                           selection="#{mbLineasNegocio.selected}" >
                <pou:ajax event="rowSelect" listener="#{mbGenericMaintenance.actionSelect()}"   
                          update="@form"  />  
                <pou:column headerText="Codigo">
                    <h:outputText value="#{r.id}"  />
                </pou:column>
                <pou:column headerText="Linea Negocio">
                    <h:outputText value="#{r.nombre}"  />
                </pou:column>  
                <pou:column  headerText="Visible">
                    <pou:selectBooleanCheckbox value="#{r.visible}" disabled="true" />  
                </pou:column>  
            </pou:dataTable>
        </ui:composition>
    </body>
</html>
